package com.ychs.lawyer.service;
import com.ychs.lawyer.DTO.RoleMenu;
import com.ychs.lawyer.bean.Menu;
import com.ychs.lawyer.bean.Role;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/08/05/15:41
 * @Description:
 */
public interface MenuService {
    List<Menu> getMenusByRoleId(String roleId);

    List<Menu> getMenuTree();

    int editMenu(Menu menu);

    int addMenu(Menu menu);

    List<Integer> getMenuByRoleId(RoleMenu roleMenu);

    int delMenu(Integer menuId);
}
